home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / STANDALO / PIXELFLI / SOURCE_ / PROGRAMM.TXT
Text File  |  1990-12-28  |  2KB  |  43 lines

  1. The following files are included in the folder, "New cdev messages", to accomodate a "cursorDev"
  2. message as sent from the Control Panel.  A cdev will receive cursorDev messages if the Control Panel 
  3. finds a cursor with ID = -4064 in the cdev file.
  4.     FILE            MODIFICATION
  5.     cdev.h            added:    void    DoCursor(void);        /*  "cursorDev" method      */
  6.     cdev class.c    added:     void cdev::DoCursor(){/*    a stub for this message    */ }
  7.     DeviceMgr.h        added    "cursorDev" to the cdev message types
  8.  
  9.     When creating a new class of "cdev", you can now implement a "DoCursor" method to do special cursor
  10.     handling.
  11.  
  12.     When you change DeviceMgr.h you will have to recompile MacHeaders.
  13.     Make sure cdev.h and cdev class.c are in your THINK C folder.
  14.  
  15. Programming note:
  16.  
  17.     HELP!!! Does anyone know the usage of control calls for a 'scrn' resource? i.e. What does the parmBlk
  18.     field contain as it's data?  When is it used? Why is it used? Is it used?  Does anyone have a 'scrn' resource
  19.     that contains data in this field?  If so, what configuration is your machine?  Look at the 'MakePerm'
  20.     function in 'PixelFlipperINIT.c' file and see if I'm doing things right.
  21.  
  22. Other notes:
  23.     
  24.     The project is setup to NOT check pointer types in the Options╔ dialog.  I guess that is the main 
  25.     advantage of "C", and the main reason I switched from Pascal to "C".
  26.     
  27.     To build the INIT/cdev first make the changes above, then build the cdev, and then build the INIT.
  28.     Pop it in your system folder and go╔
  29.     
  30.         Chris Sanchez    @    411 Laurel Suite 2280
  31.                             Des Moines, IA 50314
  32.                             (515) 247-8690
  33.                         OR
  34.                             630 Barr Drive
  35.                             Des Moines, IA 50010
  36.  
  37.         e-mail    @ MouseHole BBS (MacTutor)
  38.                             (408) 738-5791
  39.                             send mail to "Opus"
  40.                         
  41.                         @    CIS [76547,1254]
  42.                         @ America Online "BBun"
  43.